//
//  DECXStoreOrder.m
//  DECXInStore
//
//  Created by 程强 on 15/12/14.
//  Copyright © 2015年 程强. All rights reserved.
//

#import "DECXStoreOrder.h"

@implementation DECXStoreOrder
- (instancetype)initWithResponse:(NSDictionary *)dic
{
    if (self = [super init]) {
        self.list_id = dic[@"list_id"];
        _getlist_id = ValidString(dic[@"getlist_id"]);
        self.pic = dic[@"pic"];
        self.name = dic[@"name"];
        self.time = dic[@"time"];
        self.weight = dic[@"weight"];
        self.state = dic[@"state"];
        self.type = dic[@"type"];
        _depot_id = ValidString(dic[@"depot_id"]);
    }
    return self;
}
@end
